package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.AccounLoginInfo;
import com.zb.entity.ZjWorkRemark;
import com.zb.result.PageUtil;
import com.zb.vo.WorkRemarkVo;

import java.util.Map;

/**
 * <p>
 * 工单备注表 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-04-02
 */
public interface ZjWorkRemarkService extends IService<ZjWorkRemark> {

    /**
     * 保存工单备注
     * @param loginInfo
     * @param remarkVo
     */
    void save(AccounLoginInfo loginInfo, WorkRemarkVo remarkVo);

    /**
     * 根据工单ID获取工单备注列表
     * @param workId
     * @param pageUtil
     * @return
     */
    Map<String, Object> getWorkReamrks(Long workId, PageUtil pageUtil);
}
